package the.broccoli.setting.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import org.wisteria.framework.web.mvc.entity.SuperEntity;

/**
 * <p>
 * 字典项
 * </p>
 *
 * @author lei.liu
 * @since 2019-11-27
 */
@TableName("setting_dict")
public class Dict extends SuperEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("dict_id")
    private String dictId;

    /**
     * 应用ID
     */
    @TableField("app_id")
    private String appId;

    /**
     * 父级字典项ID
     */
    @TableField("parent_id")
    private String parentId;

    /**
     * 字典项编码
     */
    @TableField("dict_code")
    private String dictCode;

    /**
     * 字典项名称
     */
    @TableField("dict_name")
    private String dictName;

    /**
     * 字典项值
     */
    @TableField("dict_value")
    private String dictValue;

    /**
     * 字典项扩展值
     */
    @TableField("dict_ext")
    private String dictExt;

    public String getDictId() {
        return dictId;
    }

    public void setDictId(String dictId) {
        this.dictId = dictId;
    }
    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }
    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
    public String getDictCode() {
        return dictCode;
    }

    public void setDictCode(String dictCode) {
        this.dictCode = dictCode;
    }
    public String getDictName() {
        return dictName;
    }

    public void setDictName(String dictName) {
        this.dictName = dictName;
    }
    public String getDictValue() {
        return dictValue;
    }

    public void setDictValue(String dictValue) {
        this.dictValue = dictValue;
    }
    public String getDictExt() {
        return dictExt;
    }

    public void setDictExt(String dictExt) {
        this.dictExt = dictExt;
    }

    @Override
    public String toString() {
        return "Dict{" +
            "dictId=" + dictId +
            ", appId=" + appId +
            ", parentId=" + parentId +
            ", dictCode=" + dictCode +
            ", dictName=" + dictName +
            ", dictValue=" + dictValue +
            ", dictExt=" + dictExt +
        "}";
    }
}
